import request from '@/lib/request';

/**
 * 分页获取注册账户
 * @tips
 * @tags
 * @param
  */
export function api_GET_UsersUserOrganizations (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/user-organizations',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 启用用户
 * @tips
 * @tags []
 * @param {string} id 用户ID
  */
export function api_PUT_UsersIdEnable (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/users/${id}/enable`,
    method: 'put'
  });
}
/**
 * 禁用用户
 * @tips
 * @tags []
 * @param {string} id 用户ID
  */
export function api_PUT_UsersIdDisable (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/users/${id}/disable`,
    method: 'put'
  });
}
/**
 * 解绑微信
 * @tips
 * @tags
 * @param
  */
export function api_POST_IdentityUserWechatUnbind () {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/users/wechat/unbind`,
    method: 'post'
  });
}
